from django.conf.urls import url
from book.views import test, index, book, detail, set_cookie, weapon, skill


urlpatterns = [
    url(r'^test', test),
    url(r'^$', index),
    url(r'^book/$', book),
    url(r'^(?P<cat_id>\d+)/(?P<book_id>\d+)/$', detail),
    url(r'^set_cookie/$', set_cookie),
    url(r'^weapon/$', weapon),
    url(r'^skill/$', skill)
]